package com.ljsw.activity;

import com.bumptech.glide.Glide;

import android.app.Activity;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.widget.ImageView;

/**
* @Package com.ljsw.activity 
* @Description: TODO(显示大图片) 
* @author 郑鸿博   
* @date 2015-12-1 下午5:41:56 
* @version V1.0
 */
public class BigMapActivity extends Activity{
	
	private ImageView image;//显示图控件
	private Bundle bundle;
	private String map;//图片
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_big_map);
		bundle = getIntent().getExtras();
		image = (ImageView) this.findViewById(R.id.image_bigmap);
		map = bundle.getString("map");
		Glide.with(this).load(map).into(image);
	}
	
	@Override
	protected void onDestroy() {
		super.onDestroy();
		map = null;
	}
}
